$OpenBSD: patch-chrome_browser_ui_views_apps_chrome_native_app_window_views_aura_cc,v 1.1 2015/05/26 17:37:39 robert Exp $
--- chrome/browser/ui/views/apps/chrome_native_app_window_views_aura.cc.orig.port	Wed May 20 10:09:30 2015
+++ chrome/browser/ui/views/apps/chrome_native_app_window_views_aura.cc	Wed May 20 10:09:47 2015
@@ -34,7 +34,7 @@
 #include "ash/shell_window_ids.h"
 #endif
 
-#if defined(OS_LINUX)
+#if defined(OS_LINUX) || defined(OS_BSD)
 #include "chrome/browser/shell_integration_linux.h"
 #endif
 
@@ -122,7 +122,7 @@ void ChromeNativeAppWindowViewsAura::OnBeforeWidgetIni
     const AppWindow::CreateParams& create_params,
     views::Widget::InitParams* init_params,
     views::Widget* widget) {
-#if defined(OS_LINUX) && !defined(OS_CHROMEOS)
+#if (defined(OS_BSD) || defined(OS_LINUX)) && !defined(OS_CHROMEOS)
   std::string app_name = web_app::GenerateApplicationNameFromExtensionId(
       app_window()->extension_id());
   // Set up a custom WM_CLASS for app windows. This allows task switchers in
